package com.qingfeng.qfcms.service.impl;

import com.qingfeng.qfcms.dao.OrganizationDao;
import com.qingfeng.qfcms.domin.Organization;
import com.qingfeng.qfcms.page.Page;
import com.qingfeng.qfcms.service.OrganizationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Created by User on 2016/7/20.
 */
@Service
public class OrganizationServiceImpl implements OrganizationService {

    @Autowired
    private OrganizationDao organizationDao;
    public List<Organization> findPage(Page page) {
        return organizationDao.findPage(page);
    }

    public List<Organization> find(Map paraMap) {
        return null;
    }

    public List<Organization> list(Map paraMap) {
        return organizationDao.list(paraMap);
    }

    public Organization get(Serializable id) {
        return organizationDao.get(id);
    }

    public void insert(Organization entity) {

    }

    public void update(Organization entity) {

    }

    public void deleteById(Serializable id) {
       organizationDao.deleteById(id);
    }

    public void delete(Serializable[] ids) {

    }
}
